<?php
class Pageley_Serializer_Format {
    public static $HTTP;
    public static $SQL;

    private $name;
    private $serializer;

    public function __construct($name, $serializer) {
        $this->name = $name;
        $this->serializer = $serializer;
    }

    public function getName() {
        return $this->name;
    }

    public function getSerializer() {
        return $this->serializer;
    }
}

Pageley_Serializer_Format::$HTTP = new Pageley_Serializer_Format("http", new Pageley_Serializer_Http());
Pageley_Serializer_Format::$SQL = new Pageley_Serializer_Format("sql", new Pageley_Serializer_Sql());